<div class="boxSearch">
	<div class="headerTitle"><h3>Tìm kiếm</h3></div>
    <div class="searchItem">
        <form method="get" id="frmSearch" name="frmSearch" action="" enctype="multipart/form-data">
			<div class="userInput">
				<div class="half">
					<label>Tìm theo:</label>
					<div class="option">
						<select class="select" name="filter" id="filter">
							<option value="0">Tất cả</option>
							{html_options options=$arrFilter selected=$intFilter}                                                        
						</select>
					</div>
				</div>
				<div class="half">
					<label>Từ khóa:</label>
					<input type="text" maxlength="50" class="text" name="keyword" id="keyword" value="{$strKeyword|escape}"/>
				</div>
			</div> 
			<div class="userInput">
				<div class="half">
					<label>Tỉnh/thành:</label>
					<div class="province">
						<select id="province" multiple="multiple">
							{foreach item=province key=key from=$arrProvince}                            	
							<option value="{$key}" {if isset($arrProv) && $arrProv[$key]==$key}selected="selected"{/if}>{$province}</option>
							{/foreach}
						</select>
					</div>
				</div>
				<div class="half">
					<!--label>Quận/huyện:</label>
					<div class="district" id="divDistrict">
						<select id="district" multiple="multiple">
							<option value="1">Quận 1</option>
							<option value="2">Quận 2</option>
						</select>
					</div-->
				</div>
			</div>   
			<div class="userInput">
				<div class="half">
					<label>Trong chủ đề:</label>
					<div class="category">
						<select id="se_cate" multiple="multiple">
							{if $arrMenu}
								{foreach item=sitem from=$arrMenu}
									<optgroup label="{$sitem.name}" id="ic_{$sitem.categoryid}">
										{foreach item=ssub from=$sitem.sub}
											<option value="{$ssub.categoryid}" {if isset($arrCate) && $arrCate[$ssub.categoryid]==$ssub.categoryid}selected="selected"{/if}>{$ssub.name}</option>
										{/foreach}
									</optgroup>
								{/foreach}
							{/if}
						</select>
					</div>
				</div>
				<div class="half">
					<label>Ngày đăng:</label>
					<input type="text" maxlength="10" class="text sdate" name="startdate" id="startdate" value="{$startdate}"/>
					<label class="date">-</label>
					<input type="text" maxlength="10" class="text sdate" name="enddate" id="enddate" value="{$enddate}"/>
				</div>
			</div>   
			<div class="userInput">
				<input type="submit" class="btn" value="Tìm kiếm" />
			</div>     
		</form>
    </div>
</div>
